<?php
namespace Admin\Models\school;
use Admin\Models\BaseModel;
class XhschoolCaseShare extends BaseModel
{

    /**
     *
     * @var integer
     * @Primary
     * @Identity
     * @Column(type="integer", length=11, nullable=false)
     */
    public $iSCSId;

    /**
     *
     * @var integer
     * @Column(type="integer", length=11, nullable=true)
     */
    public $iArtId;

    /**
     *
     * @var integer
     * @Column(type="integer", length=11, nullable=true)
     */
    public $iSchoolId;


    /**
     *
     * @var integer
     * @Column(type="integer", length=11, nullable=true)
     */
    public $iArea;

    /**
     *
     * @var string
     * @Column(type="string", nullable=true)
     */
    public $tTime;


    /**
     *
     * @var string
     * @Column(type="string", nullable=true)
     */
    public $mDesc;


    /**
     *
     * @var integer
     * @Column(type="integer", length=4, nullable=true)
     */
    public $bDelete;

    /**
     *
     * @var string
     * @Column(type="string", nullable=true)
     */
    public $tCreateDate;

    /**
     *
     * @var integer
     * @Column(type="integer", length=20, nullable=true)
     */
    public $iCreateUserId;

    /**
     *
     * @var string
     * @Column(type="string", nullable=true)
     */
    public $tLastModifyDate;

    /**
     *
     * @var integer
     * @Column(type="integer", length=20, nullable=true)
     */
    public $iLastModifyUserId;

//    /**
//     * Initialize method for model.
//     */
//    public function initialize()
//    {
//        parent::initialize();
//    }

    /**
     * Returns table name mapped in the model.
     *
     * @return string
     */
    public function getSource()
    {
        return 'XHSchool_CaseShare';
    }

    /**
     * Allows to query a set of records that match the specified conditions
     *
     * @param mixed $parameters
     * @return XhschoolCaseShare[]|XhschoolCaseShare
     */
    public static function find($parameters = null)
    {
        return parent::find($parameters);
    }

    /**
     * Allows to query the first record that match the specified conditions
     *
     * @param mixed $parameters
     * @return XhschoolCaseShare
     */
    public static function findFirst($parameters = null)
    {
        return parent::findFirst($parameters);
    }

}
